#include <boost/test/unit_test.hpp>

#include "Image.h"


BOOST_AUTO_TEST_CASE(Image_sauver){
    Image img(3,3);
    Pixelf* ptr = img.getAt(0,0);
    ptr[0] = Pixelf(1,0,0);
    ptr[3] = Pixelf(0,1,0);
    ptr[4] = Pixelf(1,1,0);
    ptr[6] = Pixelf(0,0,1);
    ptr[8] = Pixelf(1,0,1);
    img.save("test_unit_output.png");

}
